Refactoring.

Use dynLinkNamedObjs in dynLinkObjs.