I take it you were just trying to minimize the diffs between this file and the Java one? The init code with a static ctor is a bit strange, rather than just initializing ElementsWithCarbons inline.