Tried to improve documentation a bit