Bug is corrected. Now all class methods with instancetype return type re...

...turns object of the receiver class instead of hardcoded class.