Added with sexp serialization to pattern type.