Used the wrong parameter name to specify the patterns directory in the extending example