As stated below, I suggest to create a class here and use it later in annotators as mixin.