Adding variadic inputs & outputs (fixes #8)