Fixing poorly written code.