We should keep it returning a function for the sake of consistency & convention with other middleware. Also, yeah, we might want to add options at some point.