Finalized class structure