Added support for creating multile derivatives at one time.