Remove a bunch of enum warnings by using default cases