Fixed minor compile bug. scan & reader are no longer final