Added mass delete function in availability plugin