Set generic methods to retrieve objects