Fixing XYMessage superclass