Made some computations static and final.