Adding data removal function.