Removed cleaning of doc