Rename getResources method to resources