Fixed for loop for kwargs. Fixes #7