Make generic and TG patterns compatible; release 0.30.2