Runtime part of issue 10023.