Added basic JMX support.