Version bump to tbs 3.1.0 and updated doc.