Implementing seek.