Whenever there is a type that can't be serialized, `ToolbarService` throws a confusing out of memory fatal error. Most users don't know what `ToolbarService` is trying to do which makes it hard to debug. 