fixed examples for the new singletonLoaderTrait