CGE2: Implement a couple of command handling functions.