Remove downloadError and downloadOk callbacks, use events instead.