Fixed some abstract class incompatibility and XML files.