Added dm method.