Modified reader factory class.