Add support to asBoolean