Bug 956300 - Remove Class argument from functions that also take a TypeObject. r=bhackett