Added some form processing.