Refactor prefix setting duplication
Merge pull request #78 from Shopify/refactor-prefixing

Refactor prefix setting duplication