fix #9 Handle inheritance for @Delegate