Fix simpleoform deprecation warning