Add file info to types and methods.