Unload objects only once as most leaf class member. Fixes #1994.