Multiple legalizer applications + cleanup