Mark provided methods in dead-code pass

Close #11224