BUGFIX: They might be functions

Bugfix of 585a2eb0c488dec1a146e665963a617eb9bfc754: They might be
functions but if not use them as attributes
Merge pull request #594 from dhs3000/master

BUGFIX: They might be functions