Add some basic functionality and specs for relationships.