Register commands.