Extract continuations map into its own class.