Remove unused cast.
Make field final.
Added tests and docs for JmxReporter.

Closes #338.