Position stuff refactoring.