Refactor and implement shared/default sections.