Fixed ImcConsumer creation for POJO listeners.