Added err param to fetching result callback.