Playing with family polymorphism.
Cleaned up table inclusion with "xml:base".
Everything should be in Scala.