Remove unused NewCommand method.