Fixed deprecation warnings resulting from GWT version update

@olegrise Please review. Thanks!