Fix unused arguments in instantiate