Updated constructors. Made SetAggregationMethod atomic and actually work correctly.