Fixed typos and some syntax.