Simplification of auto_arg to avoid the use of inheritance
Merge pull request #240 from leapmotion/ref-autoarg2

Simplification of auto_arg to avoid the use of inheritance