Lambda instead of boost dependence.