Added inline to avoid linker problems with some compilers.