This implementation for `rm_badge` can work in `Base` for both ORMs, and we can remove both definitions then.