Fixed more documentation and minor fixes