Make relationship data optional. Closes #87.