Move Hosting namespace to runtime, code cleanup.
Remove unneeded this qualifiers.
Conditional and parallel assignments.
Reorganize tests.