Remove treemenus from dependencies