Add support for multiinstance calls

Signed-off-by: Michael Buesch <m@bues.ch>