Attempt at basic gapi support