Allow specifying traphandlers for trapd.