fix Issue 8698 - Forward reference error with interfaces