Added support for keyword attribute. Fixes #37.