Fixing coding style and typos.