Set functions as inline so that the headers can be used in several source files.