Manage errors. Clean and format sources.