Add documentation for _resolveIds