Add models for DetailType and ShareType