Added comments for all current methods in KeyManager.