Implementation of #234 (seek and tell methods)