Won't this blow up if `null` is returned as the default value? If `null` is never expected to be returned here, state that in a comment? And why "getLast" instead of e.g. "getFirst", for instance?