Fixes problem with injecting a default manager