Adding relationships to parser