Using custom objects as monitors