DOM classes implemented in D