Change structures of classes