Use more modern way to write hash with symbol