Fix typos in the documentation: though -> through

Closes gh-1510