Bug is corrected. Now all class methods with instancetype return type returns object of the receiver class instead of hardcoded class.