Added method getVersion for setup class.