Instead of passing this here, why not just pass it to the view functions?