Implemented a (mostly) working relations section.