Fixed typos and outdated comments