Fixed onProgress, onError scope problem. See b86249bba222d65a62bdcb6799d17f3bba54d906.