I am not sure this class should have a language specific functionality. Can it be somehow generalized?