Multiple fixes to WetKit Core.