Remove unused code.
Mark members as static.