The `owner` parameter doesnt seems to be used somewhere. Do we need it here? `relations` and `docs` seems to do all the hard work.