Implemented support for named functions