api modifications to expose more toolbar functionality