More on registering command handlers