Clean all functions