Refer to my answer ```scripts/models/content/module.coffee```