Add defaults to Relation. Fix deleting without related records. Fix usage of API in tests.