Initial migration to DocumentJS generator.