Adding emit as alias for publish