Config should be cached inside this factory. This line creates lots of extra calls to `->get('Config')` that aren't needed.