First attempt at a full integration of gAPI.