Removed deprecated function declaration