Cleaning memory stuff - Episode 1.