Fix minor fallout from last checkin. Add some headers and rename "decode and encode" section to "specification hooks" for clarity.