Implemented single-instance support (Part #1).