Adding generic methods for the resources