Add support for non-copyable, non-moveable lambdas.