Fixed events endpoint, added arguments, added type argument processing for normalizeArgs