Implemented position/delete for new document API.