Add Drop trait to Input and Output ports, fix a bunch of warnings and update for enum values no longer being in-scope.