Changes according to code review.
Some notes on RuntimeGlueTest's test case.