[Green Code] Remove unused code.