Add type to buttons.