quadtree: Add function specifications.