code: function type(obj) {
  	return obj === undefined ? 'undefined' :
  		Object.prototype.toString.call(obj)
  			.replace(/^\[object (.+)]$/, '$1')
  			.toLowerCase();
  }
docs: TODO: This is replication of Wee's $type. Can we use that instead once integrated?