Cleaned functions.