Change the monitor implementation to adhere to the documented API.