Support lambdas and Queues.
Tests for queues and lambdas.