Fix throwing an UnsatisfiedDependencyException upon starting