Port element traits to use atoms instead of strings.