Cleans master class