Traits, processes, and the purpose of templates