replaced underscore with lodash. removed old is* type functions, relying on lodash instead.