2.25: no need to use both methods; mark_as_unloaded() at the end is enough.