Why is this hard coding necessary? If `$template` param is `null`, `$this->_template` should be left unchanged.