Don't assume that factory.typeKey is always camelized.