get func args partial support - based on #504

fixes #368 based on #504.