Add atom_constant for atom-based typed protocols