Change the signature of get() to return an optional.