Add an clean method in the backend