Added a position translation method.