public void add(byte[] keyword, T output) {
	if (this.prepared)
	    throw new IllegalStateException
		("can't add keywords after prepare() is called");
	State<T> lastState = this.root.extendAll(keyword);
	lastState.addOutput(output);
    }