Add a spec for reader class name and remove obsolete code
Add missing spec for schema inferring