remove by type

Signed-off-by: Ninjaparade <ninja@ninjaparade.ca>