Added documentation for relations.