Save tokens and position.