Retrieved some old stateLoader methods that I dont wanna lose