cleanup LoadFeatureFunctions()