Refactoring: Removed unnecessary method from scanner and reader classes