Avoid providing cursor if not necessary