Renamed finalization methods to 'finalize' in examples