Replication of relations with custom collection_class