def createContributor(self): agent = Agent() agent.id = u"GGG-GGGG" agent.names.append(TextValue(u"Ryan Heaton")) return agent