Implemented attachSuperFunctions in order to allow extended members functions to call the member functions they're extending.