Add static factory methods to dm objects