Add support for callback at start of command.