Moved import to avoid circularity.