Still broken, but the abstract class is now commented and the XML templating has been pulled out into a seperate factory which is ready to go.