defaultFactory not in 4.1, so override fields instead