Adds factories for base models