The trap_handlers class parameter accepts any values and is directly
outputted to the template, essentially allowing any value to be written
to file. Prefix each value in trap_handler with
'traphandle' for a more expected/sane result.