Made it impossible to have a PrimaryKey with an elementsTypeName.