Fortran backend code cleanup