Updating to the newer FormUI syntax