Fix class delegation.