Move 'no_eols' into actions_class.
Should remove the need to create a new grammar when expanding templates etc.