Configuring custom handlers