getCommonSuperclass cleanup + dirty fix for ProxyInterfaces