Oaths and pledges have been routine for political officials.