Reverting changes on DoctrineReader