Enhanced the MonitorDuration attribute