/**
  * Constructs
  *
  * @param string         $class
  * @param string         $property
  * @param array|\Closure $choices
  * @param QueryObject    $qo
  * @param boolean        $ajax
  */
 public function __construct($class, $property = null, $choices = array(), $qo = null, $ajax = false)
 {
     $this->ajax = $ajax;
     if ($property) {
         $this->propertyPath = new PropertyPath($property);
     }
     parent::__construct($class, $property, $choices, $qo);
 }