Add the missing factory methods that the latest API code sometimes requires
2 files changed