Added monitor constructor call using the factory.