It seems like there should be a better way to do this, but I'm not really well versed in convict.