Remove useless getXXX methods, make the class final and private constructor