Modify purge method.

Reasons:
- unneccessary aditional method removed,
- method should return list of purged elements for tracking of assigned
  values.