Added support for model binding and fixed some bugs with the date and email fields