Added CommandManager's functionality.