Moves bootstrap code into temp class