fix header in Direction

remove extra language extension pragma
avoid use of `e` in Arrowheads