Add missing inline to avoid linker errors about duplicate definitions.