Put declaration first, to fix MSVC build.