Move more functions into the pathauto manager, inject services.