Added checks values conversion utility routines to avoid perf hits caused by exceptions being thrown;