Supress warnings using stub_const