Added get_parent functionality for BasisFunctions