storing class info with class hints