Updated to the new Stage constructor.