Add convenience functions for DistanceTo/By. Fix errors with code using the objects (!children) naming convention.