Fixes some typos

Fixes #294.