Refactored static field type initializer to be represented as a class of its own in order to avoid code duplication and potential memory leaks when implementing the interface by the instrumentations.