why do we do this in the alter -- can't we do it in the ``public function view()`` or ``buildContent()``?