Use fetch to fix errors reported in #4

This should fix the errors I've reported in #4.