RuntimeAgent.getProperties improved. Issue #218