Initialize missing flags field