Small API changes and additions for web ui