Ensure the handler of the handler has been properly set.