Extend the resources to support up to 9999.