Adds enumerize matcher code from gist:2318858