Enhanced documentation and fixed some typos