Added method for getting resources.