Removed deprecated function