Issue #8209 by cableman: Updated coding style and added missing docs