some enhancements to ProducerAgent API....