Added classes and interfaces for monitoring.