Cleans code after DB changes