Add support for assigning names to commands.