Add medium groups and better usage exception message