Fixed various broken assignment operators.