Fix for special attributes

This is a fix for issue #17.