overhaul: Remove a bunch of obsolete constant references.