Add missing changes for WebUI.

fixes #321