Move some plugin methods to output phase from exit phase, to prevent problems with reruns