make ContinuationsManagerImpl extensible so that it is possible to implement your own continuations invalidation strategy; code formatting