Changing a non-static method to a static method in MPTT.