Add support for buttons.