Implemented deletion of acl keys when an entity is removed