Fix extension of HMSView class, add namespace.