Shouldn't `reader` be `Reader`?
Not sure if this is a problem, but I'd change it anyway..