Fix header of getObjectAnnotations to include new signatures