Removes unused actions