Fix handling of keywords in bind helpers

Fixes #1315