Change deprecated call.