Add interface to get internal structures for classes