Instead of adding and possibly later deleting attributes, the class creation is delegated into a cleaner building pattern.