Finalize implementation