[WIP] Implement relationships