Fixing doc example formatting.
Allow boolean in register; documenting.