Adds pi command.