Using prototype methods so public methods don't get reinitialized every time.