Please don't copy the code, use an object to cache the extended members, and pass it as a parameter in these two extend function. Don't forget to modify the `ctor` function for TMXFixBugLayer