More rational initialization and finalization.