ExpirationManager functionality and class2dict