Extra params

- Allow clients to pass arbitrary parameters to API
- Clean up extra white spaces.
yep - point taken (literally) ;)