Default some ctors and assignment operators.
Fix log output.