+ * (ie., one singleton per account). This should NOT be unref'd.
+ **/
+ModestTnySendQueue* modest_runtime_get_send_queue (TnyTransportAccount *account,
+ gboolean create);
+
+/**
+ * modest_runtime_remove_send_queue:
+ * @account: a #TnyTransportAccount
+ *
+ * Removes the send queue associated with the given transport account
+ **/
+void modest_runtime_remove_send_queue (TnyTransportAccount *account);
+
+/**
+ * modest_runtime_remove_all_send_queues:
+ *
+ * Removes all send queues, ready for them to be recreated, for instance
+ * with a new connection.
+ **/
+void modest_runtime_remove_all_send_queues ();
+
+/**
+ * modest_runtime_get_window_mgr:
+ *
+ * get the #ModestWindowMgr singleton instance
+ *
+ * Returns: the #ModestWindowMgr singleton. This should NOT be unref'd.
+ **/
+ModestWindowMgr* modest_runtime_get_window_mgr (void);
+
+/**
+ * modest_runtime_get_protocol_registry:
+ *
+ * get the #ModestProtocolRegistry singleton instance
+ *
+ * Returns: the #ModestProtocolRegistry singleton. This should NOT be unref'd.
+ **/
+ModestProtocolRegistry* modest_runtime_get_protocol_registry (void);
+
+/**
+ * modest_runtime_get_plugin_factory:
+ *
+ * get the #ModestPluginFactory singleton instance
+ *
+ * Returns: the #ModestPluginFactory singleton. This should NOT be unref'd.