is there a better word for 'type'? It's darn close to a reserved word and not clear what it is. requestedAction ?