Standardized the type checks across core. isFunction and isArray now use Object.proto...