Extract common future/async conversions to library.