Added setter that uses move assignment.