Prototype: Callback for commands.