protected function _set($name, $definition, $type)
{
if ($definition instanceof Closure) {
$definition = $definition->bindTo($this, get_class($this));
}
$this->_definitions[$name] = compact('definition', 'type');
}