Minor modifications.
 Minor changes.
 Complete interface of QueueAdapters.
 Workaround in workflow.connect()