Type hinting enhancement to strucs