Revert "Trying to fix seek problem."

This reverts commit f623ff0a6b38b5bbc88137128c47aafa139b9a7b.
Remove old functions.
Remove old function.
Fix seeking problem.