Fixed some errors in documentation