Revert "functions are first class objects - allow presence to ‘see’ them"

This reverts commit c6cbec8bdaefa35f21bd8ffa7b6051cc82700a7e.
reverted previous commit which included generated files.