Fixed the missing methods bc Eclipse is being stubborn and won't save anything.