Clear up 'command' for key generation.