replaced entities argument in Entity's clear method with VilTAGE object