Improve language loading to allow for custom paths.

Closes gh-233