implement other signature of offset() method. Fix for issue 161 (google code)/ issue #3 (github)