Added documentation for TEBefore and TEAfter.