AS7-6580 Deprecate the methods on ModuleSpecification instead of removing those