Merged with UI.