Added erasing types info and littering the heap