Move more code to ResultHelper class.
Moving functions around.