Add getter methods for resource