Implemented single-instance support (Part #2).