We should probably use something like [draper](https://github.com/drapergem/draper) to clean this up eventually.