Remove deprecated button syntax.