xms and xmx should both use the new method.