Collection of D helper classes and functions