Moved inline to cpp file.