Code consistency changes

Change private static method into protected metod