Improved Places::relateTo and other functions