Implement static ctor injection.