Remove number of deprecated parameters/functions/classes [fix #6641]