Adds boolean methods as "asBoolean"