Managing Filters programmatically

Could you please add the ability to open and close custom filters using DG API (equivalent to using the Filters context menu’s item External->My Custom filter? It’d be also great to have the ability to programmatically open, close, enumerate all built-in filters.