Undocumented features

Add support for some undocumented features like offset. Which are important when you want to get data for segments etc.