Move check for transaction support out of class to improve performance of settings page.