Implemented VALIDLANGS spec partially (default mode only for now)