Source format and cleanup.