Code finalization