Added two new constructors to support proxy