The 'pseudo_atoms.def' contains predefined atoms, and this is often the way to go for molecules.
This especially important for united atom types etc.
For frameworks, read from a CIF file, there is always an element defined (_atom_site_type_symbol), and the type (_atom_site_label) is automatically added when found. The mass is a lookup from a database in 'src/scattering_factors.c'.