More methods made protected for overriding and other changes to support extension dev on Scratch.