Added getters for objects in database