ENH: add support for passing in attributes
fixed typo
more attributes bug fixes
Merge pull request #3 from dalejung/attributes

Attributes