Rename 'pos' to 'offset'.