Add multiple instance support.