Application code cleaning