Revised documentation for kwargs function