Document a clua function