Code cleanup VM