Rewrite getObjectAt to use getObjectsAt and more