Fixed and extended documentation