Fixed issues that arose from stricter DMD import implementation.