Improve/finish the POD.

Write the code to handle use of both before and after at the same time.

Write unit tests.
