UI/DB side of #95.