Fixes to net 100% code coverage.