Clean up _getKey