Fix obsolete func reference