Documentation of functions added and new IOAuth2Generator interface