text: define(function(require) {
  'use strict'
  
  var spv = require('spv')
  var getDeprefixFunc = spv.getDeprefixFunc
  var check = getDeprefixFunc('handleAttr:')
  
  return function rebuild(self, index) {
    var result = {}
  
    for (var name in index) {
      if (!index.hasOwnProperty(name)) {
        continue
      }
  
      var result_name = check(name)
  
      if (!result_name) {
        continue
      }
  
      result[result_name] = index[name]
    }
  
    self.__handleState = result
  }
  
  })
  