Inline unsubscribe function in PaneController