Revert :slug to :code.