fix Resource => Resources infix
add has_api_type mixin