suppress and spec deprecation warning in dsl_spec