Remove buttonMarkup dependencies.