Add inline to avoid multiple definition.