Allow loader to be set explicitly

Fixes GH-5