``$attributes`` is actually an array of ``webconfigurator.step`` tags here, not an array of attributes (which is why you need the ``[0]`` part below). The naming should be improved