Added prevOf/nextOf (needs optimization - they currently walk the whole tree)