Avoid injecting the container in the YamlDataLoader