Update version 3.1.0.  Remove toc in api