change finalizer behavior for Model/Env (ref #27).