Correctly register the commands.