Move protected helpers to end of the class source.
Simplify return value determination