added RuntimeContext.getResources()