Add support for Class.open(), anyOf/allOf/not