Rewrite __init__.
Use dg.tag instead of sys.implementation.cache_tag.
Merge commits 'd2aba13' and 'aa497b8'