Documented Termination class and decomposed 'finished?' method body into separate methods for checking each condition.