Add efficient coercions to basis.data types