Modified parsing of custom attribute values to accommodate booleans as well as integers.