Removed obsolete utility function