Add names function and command.