Added support for passing options to nested resource