Detect tweaks based on tweakclass rather than name