Piece subtype creation changed from prototype style to factory.