Ah, the internal /admin hooks need this. Hardcoded check. Not optimal, but should work better than the old approach.