Huge-arse change.
- Changing the form data; getting rid of 'type'.
- Type is now figured out from the URL.