Can't GitHitUnit() be null in AfterCast?