Migrate menu.init to defaults()