Finalizing stuff.