Changes to support leJOS only work