Fixes class_attr errors
Merge pull request #28 from switchyard/master

Fix for issue #27