Transformed JS to C#.
Added Boss Object.