Allow specifying direction of translation