Clean up old specification reading from xml