Button type is now configurable.