Changing event constants into strings