Generify configurable classes/objects

The toLoad will generify itself as there will be more elements added