Add data cleaning functions