Small refactoring.
Fix Position class.