Updated for recent trunk changes.<br>