Config and factories are no longer locally scoped, resolves #162.