[Hat] How to generate .hx files?