Allow 'all' and 'annotation' as targets.
Extract abstract Reader class.