Fix the issues with BlockFamilyFactories loading.