Rename getAnnotations() as getObjectAnnotations()