Simplify tagClass helper