General commands now emit events