Implement Item#setParent, making Item#parent writeable. Closes #186.