Added a deletion method for agents and properties