Exposed PurgeOnStartup for extensibility

This is required so that extensions can access it