Expose get_settings method safely in helpers (bug 941941)