Make signatures compatible with gwt compiler