Add final patterns (fix #16)