Check for class definitions before setting

* Adapt for `hide_update_notice` usage
* Check for class definitions before setting
* Revise `get_defaults` usage with filter `wps_settings_defaults`