Removed unused enum LevelType.
Removed unused typedef "FinishPredicate".
Removed unused includes.