Modified JMX classes to prepare separate client project.