Replacing old XML-defined content types with interfaces