I think we can move the checks in `initialize` into `get_resource_class`. Failure will be in the same place with the logic.