Add structure support to UserException