proxy implementing an interface or proxy extending a class