Added sidebarAPI and stuff