Move the result helpers into the result file