Simplify handler declaration.