Moved all functionality to imqs namespace.