Cleaned codes