Laying groundwork for future DM stdlib