Add documentation for warnings module, from Bruno.