// Removed deprecated function