Add support for publishing object and action simultaneously