diff --git a/library/Businessprocess/Html/BaseElement.php b/library/Businessprocess/Html/BaseElement.php
index 564fc22..1440f4c 100644
--- a/library/Businessprocess/Html/BaseElement.php
+++ b/library/Businessprocess/Html/BaseElement.php
@@ -48,7 +48,7 @@ abstract class BaseElement extends Html
*/
public function addAttributes($attributes)
{
- $this->attributes = Attributes::wantAttributes($attributes);
+ $this->attributes()->add($attributes);
return $this;
}