Fix Block Factory when types are saved.