Add documentation for ResultSetFactory