Add custom method to rtree implementation