Handle case of lookup not matching.
Added documentation to the herp_refreg module.
Fixed documentation specs on return values.
Merge commit.