GUVNOR-2115: adapted to uberfire 0.5.x