Fix dynamic attributes from helper with arguments

Fixes #46