Fixed typos. Closes issue #248