Add relations to Solution model