Removal of deprecated function call.