Adds top level classes for base template.