Replace direction strings with concrete enums