asprogram: Track TypeName names as dependencies as well