Write docstringg for view functions.