Moved loading from the init to the load phase