Fix for API changes in reader and require Reader 0.040000