Fixed ESLint warnings. Closes #2.