Lazy generation of the lable table and some enum stuff.