Fixed some typos and added additional docs.