Finalize idma class