Finalized the inheritance implementation.