Why `extend self`?  As far as I can see, you're not using any of these methods via `RSpec::Support::Warnings.<method_name>` and I don't think we want to expand the API like that, anyway.