Explicitly inject function arguments, to cope with minification. Fixes #311.