Avoid object-to-function-cast warning.