bugfix: RegisterInputCollection and RegisterOutputCollection accespt void* for implicit cast