Fix HTML validation errors.
Improve linking in declarations.