Made structure __type__ accessible from the class