d: mark methods with the override keyword
d: add asserts as the defaults of switch blocks
d: mark initialized constants as static