Fix use of `__CLASS__` when not in class