suppress spec type deprecation warning