This line should actually go into the CastleProxyFactory static constructor, which is the one that sets the attributes to skip.