Added index to Do() and WithConstructor() methods.