docs: @SuppressWarnings("unchecked")
  	public <T extends TermedStatementDocument> T updateTermsStatements(T currentDocument,
  			List<MonolingualTextValue> addLabels,
  			List<MonolingualTextValue> addDescriptions,
  			List<MonolingualTextValue> addAliases,
  			List<MonolingualTextValue> deleteAliases,
  			List<Statement> addStatements, List<Statement> deleteStatements,
  			String summary) throws MediaWikiApiErrorException, IOException {
  		
  		TermStatementUpdate termStatementUpdate = new TermStatementUpdate(
  				currentDocument,
  				addStatements, deleteStatements,
  				addLabels, addDescriptions, addAliases, deleteAliases);
  		termStatementUpdate.setGuidGenerator(guidGenerator);
  		
  		return  (T) termStatementUpdate.performEdit(wbEditingAction, editAsBot, summary);
  	}