Addded inline to public methods to prevent multiple definition errors