Fix data attributes with function types (fix #107)
Reintroduce callable data attributes