Add support for inherited_resources and nested objects