updates for code-patterns (3.11)