Corrected segfault when registering new biomes.