Doesn't quite work exactly, since piping through will fail unless both Domain and Range have been set.