Split the DocumentRelationManager implementation