GPUB: backport Grammar-Kit 1.1.8  API, backward compatibility preserved.