A few small extension templates to make aspects of D easier