class library: patterns: remove unnecessary cleanup class