Implemented support for inheriting method return values in models.