enable creation of custom classes (should inherit from RailsResource)