Add modelines

This should lead to less problems with rebasing than the whole
tidy commit.