Removed dead code. Fixed typo.