First pass of adding new EA package to C#, ported from Java.