Made toolbar_pool.register a valid decorator.