Fixed GWT compatibility.