Removed external final variable declarations when creating anonymous classes.