Split out the attributes binding so that they can be individually set. This will allow for greater flexibility when creating new elements.