This does not work. You cannot instantiate the decorated loader, as it needs to be configured. You will create an empty autoloader here, making it totally useless