bit of work converting D.Core.Types