Refactor to load VarLoaders as plugins