Multiple changes

- Add XOR require validation method
- Propagate verbose errors from REST endpoint