Add ability to set arbitrary attributes on the buttons