GameRegistry.registerWorldGeneratorModifier - where did it go?

After several months break from writing my plugin I came back. Current;y I’m trying to get what I had befre compile with SpongeApi 3.0.0.

According to WorldGeneratorModifier javadoc and SpongeDocs there should be GameRegistry.registerWorldGeneratorModifier() method but I can’t find anything even simillar to it. Where did it go?

Also, why title can’t be “Where is GameRegistry.registerWorldGeneratorModifier()?”?

Here: Cookbook/WorldsTest.java at master · SpongePowered/Cookbook · GitHub

Use Sponge.getRegistry().register(WorldGeneratorModifier.class, myModifier);.