Fix bug in keyword definitions