Changed shift keyword to offset, added to documentation