Fix "Directions constructor does not allow HTMLElement"
Add missing classes.