Added Runtime references to check for memory usage.