Fix NSpec errors