Better support for named functions