Allow changing the direction of the outputted data.