Initial import of the Gaze API code.