Modified constructors.