Finalizing the classes