Added param.main to support top-level messaging