Removed registerCommand method