Finalize the class active_diag... to get it compile.