As required by new version of TypeScript
  - Replace 'module' references to 'requires'
  - Replace 'bool' references to 'boolean'