Add return types for methods.
Rather than relying on 0 or NilClass, coerce to Boolean.