Add some publish API support.