Allow paths to be injected