pass along opts from warn_deprecation