Fixed warning about unused private field.

Because we treat warnings as errors it results in compile error.