Get rid of anon function.  Include file size #3540

I like create_function, but it was getting too big.