Sweep some methods into a lambda.