Register partials automatically, closes #4