Fixed pattern matching.