Implemented resource key retrieval.