Replaced GeneralHelpers.NullOrChild() with NullOrFunc() extension method