Add constructors to TwoDShape