Added support for GC'ing variables of function types (both as members of class objects, as well as local variables).

Still missing:
- GC'ing arrays
- GC'ing (dynamically created) strings