Removed redundant code from demo form.