#resource_class instead of chain