Fix or suppress compile warnings
Remove unnecessary final keyword