Added support for contact relationships to matters.