Add support for commands to Handler.