Finished key management methods. Testing.