Bug 767589 - GCLI should expose addType and removeType to the outside; r=mratcliffe