Removing method duplication in settings