Removed deprecated function call.