More changes based on upstream changes.

- Marking processes as VectorProcess and RasterProcess, and registrying with
  factory
- Fixing parameter index out of bounds bug