Avoid unused function warning on OS X.