Support for custom resource operations

Change-Id: I3535680fab48c9d2ad7e0f6e03d7c5aed9835236