deleting public and unused things