Included the CGSPrivate header and changed types