Simplifies warning expectations