Refactorings in PixelPosEstimator