Utilities for dealing with Optional values.