code: private void addToContext(final VelocityContext context, final String name, final Object value) {
  		if (name.endsWith(LIST_SUFFIX)) {
  			// We want to use lists
  			Object already = context.get(name);
  			if (already != null && !(already instanceof List)) {
  				throw new SystemException(
  						"VelocityContext contained " + already + " instead of List under " + name);
  			}
  
  			List list = (List) context.get(name);
  
  			if (list == null) {
  				list = new ArrayList();
  				context.put(name, list);
  			}
  
  			list.add(value);
  		} else {
  			context.put(name, value);
  		}
  	}
docs: Adds a name/value pair to the Velocity context. If the name parameter ends with {@link #LIST_SUFFIX}
  
  @param context the context to add to.
  @param name the name
  @param value the value