Move STD_MOD declaration to end of file as per the norm of everything else (issue...