If the addParent method accepts strings and objects, the setParent method should do the same. I don't care about the implementation details.