Objects are OK for publish()/publishToQueue().