Some more required classes and methods for mods.