Refactor tern overview section.