Added base class for all commands.