Remove superflous methods to fix GWT compiler problem