Move CanParseEmptyString check to runtime.