Fix or suppress compile warnings
Remove unnecessary final keyword
CreateIndexSpecification fixes for 2.4