Improve pretty-printing of 'foreign' declarations