Added CompleteCommand.