Move component execution out of GameObject.main.