Moved data to factories.