Set the configuration type when registering a custom handler