Your GetDeclarationDepth extension was very useful. Thanks