tweaks to the design of the code doc models