Adding GridDirection.