added support for chaining of init and setCurrentStep methods