moving code which is required by all IoC StaticProxy extensions to this library.