Adds support for .LeftToRight and replaces struct Position with a tuple.