Fixes compilation errors from InstanceAccessGuard to AvailabilityGuard switch