Coding style nitpicks
Fix doxygen documentation
Add atom_constant for atom-based typed protocols