Removal of refcount inheritance and adding default constructor and set_delay method.