Fix obsolete proc syntax