add support for Hint in class structure