make lexical functions more function-like and less coderef-like