[Library] Add coverage class writer.