Make handler_type primary template more concise.