Fixed RTTI bug where self referencing interface functions would not have a valid return type.