Extract common bits about settings forms to a superclass