ripped dtypes out of stlwrap