Fixes for Array.isArray and Object.keys static methods