maybe just `$this->prefix = (array) $prefix` ?