What's the purpose of the singularize in the `elsif`? 
I'm super unhappy about having such an ugly conditional but I'm not sure what can be done about that right now. Perhaps we can refactor it later.