Adds hint to patterns