Is it necessary to have an explicit function for this, compared to just using getMessage and getting the threadkey from the message object?