Added runtime check for bad types being passed.  Need to define a super-type or interface so that this check happens at compile-time instead.
Merge branch 'master' of https://github.com/GlenKPeterson/PdfLayoutManager