Tweaked an error message and fixed custom parse messages for nullable types.