Add final to some method arguments and re-format source code.