Removed references to throwing exceptions. Added bail shorthand.