Fix obsolete syntax