Minor modifications to the SAM output.