Added ability to add multiple stubs at a time.