add cassert to Retainable.h