CFormButtonElement with custom type

When rendering a CFormButtonElement using a custom type (hence custom widget) it forces the widget to have a name attribute.

File: web/form/CFormButtonElement.php

Line: 122

The description is clear - http://www.yiiframework.com/doc/api/1.1/CFormButtonElement

it say:

ARG!!! not cool, really. what to do if i am passing a 3rd party widget? (rhetorical question)

Extend the CFormButtonElement class just to override this one line?