Add from-maybe method.